<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<title>后台管理系统</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/css.css">
<script src="__PUBLIC__/Admin/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/Common/Layer/layer.js"></script>
<script>
function check_form(){
	if(!window.confirm('第二次点击会修改发货时间，确认吗？')){
		return false;
	}
	var kuaidi_name = $('#kuaidi_name').val();
	if(kuaidi_name == ''){
		layer.msg('请选择一个快递公司');
		return false;
	}
	var kuaidi_num = $('#kuaidi_num').val();
	if(kuaidi_num == ''){
		layer.msg('运单号不能为空');
		return false;
	}
	return true;
}
</script>
</head>
<body>
<form name="form3" method="post" action="__SELF__" onSubmit="return check_form();">
  <div class="list">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="details">
        <tbody>
	      <tr>
	        <td><div align="right">快递：</div></td>
	        <td><select name="kuaidi_name" id="select">
            		<option value="{$result.kuaidi_name}">{$result.kuaidi_name}</option>
              		<option value="">--------------------------</option>           		
                    <option value="圆通快递">圆通快递</option>
                    <option value="中通快递">中通快递</option>
                    <option value="申通速递">申通速递</option>
                    <option value="韵达快递">韵达快递</option>
                    <option value="天天快递">天天快递</option>
                    <option value="邮政包裹">邮政包裹</option>
                    <option value="顺丰快递">顺丰快递</option>
                    <option value="邮政EMS">邮政EMS</option>
                    <option value="宅急送">宅急送</option>
            </select></td>
          </tr>
	      <tr>
	        <td width="33%"><div align="right">
	        <div align="right">运单号：</div></td>
	        <td width="67%">
	          <input name="kuaidi_num" type="text" class="input" id="kuaidi_num" style="width:200px;" value="{$result.kuaidi_num}" /></td>
          </tr>
	      <tr>
	        <td><div align="right">发货时间：</div></td>
	        <td>{$result.fahuo_time}</td>
            <input type="hidden" name="fahuo_status" value="{$result.fahuo_status}" />
          </tr>
	      <tr>
	        <td>&nbsp;</td>
	        <td>&nbsp;</td>
          </tr>
        </tbody>
  </table> 
</div>
<div align="center">
	<input type="hidden" name="id" value="{$result.id}" />
     <button type="submit" class="button" id="button" style="min-width:160px;">保存发货信息</button>
</div>
</form> 
</body>
</html>
